package com.blue.common.listener;

import javax.servlet.ServletContext;

import org.springframework.web.context.WebApplicationContext;

public class WebContextListener extends org.springframework.web.context.ContextLoaderListener {
	
	@Override
	public WebApplicationContext initWebApplicationContext(ServletContext servletContext) {
		WebApplicationContext initWebApplicationContext = super.initWebApplicationContext(servletContext);
		
        StringBuilder sb = new StringBuilder();
        sb.append("\r\n======================================================================\r\n");
        sb.append("\r\n    XXXXXXXXXXXX - Powered By http://www.blue.com\r\n");
        sb.append("\r\n======================================================================\r\n");
        System.out.println(sb.toString());
        
		return initWebApplicationContext;
	}
}
